package com.micro.service.service;

import com.micro.service.model.UserInfo;

import java.util.List;

/**
 * Create by Vic Xu on 2019/3/6
 */
public interface UserInfoService {

    List<UserInfo> getAllUserInfo();

    UserInfo getUserInfoById(String id);

    int saveUser(UserInfo userInfo);

    int batchSaveUser(List<UserInfo> userInfos);

    int updateUser(UserInfo userInfo);

    int deleteUser(String id);
}
